package com.yang.service.impl;

import com.yang.dao.ElMenuDao;
import com.yang.entity.ElMenu;
import com.yang.service.ElMenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author yangdacheng
 * @title: ElMenuServiceImpl
 * @projectName note_api
 * @description: TODO
 * @date 2022/3/8 10:45 上午
 */
@Service("elMenuServiceImpl")
public class ElMenuServiceImpl implements ElMenuService {

    @Resource
    private ElMenuDao menuDao;

    @Override
    public List<ElMenu> queryAllEl() {
        return menuDao.queryAllEl();
    }

    @Override
    public Boolean updElMenu(ElMenu elMenu) {
        return menuDao.updElMenu(elMenu);
    }

}
